pp108 : getUnitName (Deprecated)

getUnitName (Deprecated)

This method returns the name of a unit.

Note: The use of this method is deprecated; use getUnitDetails instead.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <getUnitName xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0">
            <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID>
            <unitId>001CC438-906D-11E2-EE38-EEEA14C33636</unitId>
            <unitQName>organization unit/college</unitQName>
        </getUnitName>
    </SOAP:Body>
</SOAP:Envelope>
Request Parameters

Parameter

Description

Mandatory

Accepted Input Value

WorkspaceID Unique and valid ID of the Collaborative Workspace (CWS) No GUID or null

UnitID

ID of the unit

Yes. Either UnitID or UnitQName

GUID. If it is provided, returns the unit corresponding to the given UnitID.

UnitQName

Fully Qualified Name (FQN) of the unit

Yes. Either UnitID or UnitQName.

If both UnitID and UnitQName are specified, it returns the unit corresponding to the given UnitID. However, if a unit does not exist for the given UnitID, it returns the unit corresponding to the given UnitQName.

SOAP Response

<getUnitNameResponse xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0">
    <getUnitName>college</getUnitName>
</getUnitNameResponse>
Response Parameters

Parameter

Description

getUnitName

Name of the unit